/*
 *  Autor Jan-Hendrik Kahle
 */

package com.me.mygdxgame.GameObjects;


import com.badlogic.gdx.math.Vector2;
import com.me.mygdxgame.GameObject;
import com.me.mygdxgame.UNITTYPE;
import com.me.mygdxgame.Components.Render;


public class Unit extends GameObject {

	private UNITTYPE unittype;
	
	private Tile occupiedTile;		

	public Unit( UNITTYPE unittype, Vector2 position) {
	
	}


	public Unit() {
		this.addComponent(new Render());	
// TODO: addComponents: Renderer, BoundingBox, Attack, Abilities
	}
	
	public void setUnitType(UNITTYPE unittype) {
		this.unittype = unittype;
	}
	
	public Tile getOccupiedTile() {
		return this.occupiedTile;
	}
	
	public void setOccupiedTile(Tile occupiedTile) {
		this.occupiedTile = occupiedTile;
	}
	
	public UNITTYPE getUnittype() {
		return this.unittype;
	}
}